﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TongCheng.API.OpenAPI.Request;

namespace TongCheng.API.OpenAPI
{
    public interface ITcClient
    {
        /// <summary>
        /// 执行Tc公开API请求。
        /// </summary>
        /// <typeparam name="T">领域对象</typeparam>
        /// <param name="request">具体的Tc API请求</param>
        /// <returns>领域对象</returns>
        string Execute(ITcRequest request);
    }
}
